<template>
  <a-spin class="fullParentDomSpin" :tip="tip" v-show="loading"/>
</template>
<script>
export default {
  props: {
    tip: {
      type: String,
      default: ''
    },
    loading: {
      type: Boolean,
      default: false
    }
  },
  data () {
    return {

    }
  }
}
</script>
<style lang="less">
.fullParentDomSpin {
    position: absolute;
    left:0;
    top:0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
</style>
